import axios from 'poros/http';

// const BASE_API = 'http://10.110.100.171:8030';
// const BASE_API = 'http://10.110.96.192:8030';
const BASE_API = '';

//工作台-我的待办接口
export const postMyAgentList = data =>
  axios({
    url: `${BASE_API}/api/salesforecast-service/planProcess/myAgent`,
    method: 'post',
    data,
  });
//工作台-我的申请接口
export const postMyApplicationList = data =>
  axios({
    url: `${BASE_API}/api/salesforecast-service/planProcess/myApplication`,
    method: 'post',
    data,
  });
//工作台-我参与的接口
export const postMyParticipationList = data =>
  axios({
    url: `${BASE_API}/api/salesforecast-service/planProcess/myParticipation`,
    method: 'post',
    data,
  });
//工作台-我的数据接口
export const getDataOverview = params =>
  axios({
    url: `${BASE_API}/api/salesforecast-service/planProcess/dataOverview`,
    method: 'get',
    params,
  });
